﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace InnovTech.Net.DataTransfer
{
    public interface IDataTransferConfig : IConnectionConfig
    {
        EventHandler<DataTransferStartingEventArgs> TransferStarting { get; set; }
        EventHandler<DataTransferInitializedEventArgs> TransferInitialized { get; set; }
        EventHandler<DataTransferConnectingEventArgs> TransferConnecting { get; set; }
        EventHandler<DataTransferingEventArgs> Transfering { get; set; }
        EventHandler<DataTransferCanceledEventArgs> TransferCanceled { get; set; }
        EventHandler<DataTransferErrorEventArgs> TransferError { get; set; }
        EventHandler<DataTransferCompletedEventArgs> TransferCompleted { get; set; }
        EventHandler<DataTransferStateChangedEventArgs> StateChanged { get; set; }

        bool ShouldRetry { get; set; }
        TimeSpan RetryInterval { get; set; }
        bool TestMD5 { get; set; }
        string ServerFilePath { get; set; }
        long TransferOffset { get; set; }
        string LocalFilePath { get; set; }
    }
}
